package com.borya.dao;


import com.borya.model.db.LoginLivingRecordInfo;
import com.borya.model.db.MerchantPerfectionRecordInfo;

public interface MerchantPerfectionServiceDAO extends BaseDAO {

    /**
     * 插入商户资料完善记录
     **/
    boolean insert(MerchantPerfectionRecordInfo recordInfo);

    MerchantPerfectionRecordInfo getByOrderId(String orderId);

    /**
     * 更新记录表和LOG表
     *
     * @return
     */
    boolean updateMerchantPerfection(MerchantPerfectionRecordInfo recordInfo);

    /**
     * 插入商户活体识别记录
     **/
    boolean addLivingPreRecord(LoginLivingRecordInfo info, String merchantId, String minLimitSimilarity);

}
